<template>
	<view class="page">
		<CustomNav :isBack="false" color="#fff" :topBgColor="topBgColor" title="宁垦农服"></CustomNav>
		<view class="menu-block" :style="'margin-top:'+mt">
			<view @click="navigate('/page_pack/send/send')" class="menu-item">
				<image class="menu-icon" src="/static/images/menu6.png"></image>
				<view class="menu-info">
					<view class="menu-name FZHZGBJ">宁垦农服</view>
					<view class="sub-name">优化种业发展环境</view>
				</view>
			</view>
			<view @click="navigate('/page_pack/seed_other/base')" class="menu-item">
				<image class="menu-icon" src="/static/images/enter1.png"></image>
				<view class="menu-info">
					<view class="menu-name FZHZGBJ">基地环境</view>
					<view class="sub-name">种子研发中心、物流中心和种子企业简介</view>
				</view>
			</view>
			<view @click="navigate('/page_pack/seed_other/exhibit')" class="menu-item">
				<image class="menu-icon" src="/static/images/enter2.png"></image>
				<view class="menu-info">
					<view class="menu-name FZHZGBJ">种子展示</view>
					<view class="sub-name">种子的包装、粗脂肪、粗淀粉等信息</view>
				</view>
			</view>
			<view @click="navigate('/page_pack/seed_other/case')" class="menu-item">
				<image class="menu-icon" src="/static/images/enter3.png"></image>
				<view class="menu-info">
					<view class="menu-name FZHZGBJ">项目案例</view>
					<view class="sub-name">肃州区种子在其他地区成功繁育的案例</view>
				</view>
			</view>
			<view @click="navigate('/page_pack/seed_other/contact')" class="menu-item">
				<image class="menu-icon" src="/static/images/enter4.png"></image>
				<view class="menu-info">
					<view class="menu-name FZHZGBJ">联系我们</view>
					<view class="sub-name">查看种子企业联系方式和位置导航信息</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				topBgColor: 'linear-gradient(to bottom,#64b548,#ABDD88)'
			}
		},
		methods: {

		},
		onShow() {

		}
	}
</script>

<style lang="scss" scoped>
	.page {
		overflow: hidden;
		background: #fff;
		height: 100%;
		width: 100%;

		.menu-block {
			width: $content-width;
			margin: 30rpx auto;
			overflow: hidden;

			.menu-item {
				width: 100%;
				background: #fff;
				border-radius: 10px;
				display: flex;
				align-items: center;
				height: 220rpx;
				padding-left: 40rpx;
				margin-top: 30rpx;

				.menu-icon {
					width: 120rpx;
					height: 120rpx;
				}

				.menu-info {
					height: 100%;
					width: calc(100% - 140rpx);
					margin-left: 20rpx;
					display: flex;
					flex-direction: column;
					justify-content: center;

					.sub-name {
						font-size: 28rpx;
						margin-top: 30rpx;
						color: #999;
					}
				}
			}

			.menu-item:nth-child(1) {
				background: #FEF2E4;
			}

			.menu-item:nth-child(2) {
				background: #F5F5FE;
			}

			.menu-item:nth-child(3) {
				background: #E8F5E6;
			}

			.menu-item:nth-child(4) {
				background: #FFEFED;
			}

			.menu-item:nth-child(5) {
				background: #deeaed;
			}
		}
	}
</style>